<?php require('header.tpl'); ?>
<div class="dbx-group" id="sidebar">

    <div id="LoginBox" class="dbx-box">
    <h3 class="dbx-handle">Login</h3>
        <div id="error">
        </div>
        <div class="dbx-content">
            <label for="login">login:</label><input type="text" id="login" class="MyInputBox" />
            <label for="password">password:</label><input type="password" id="password" class="MyInputBox"/><br />
            <input type="button" value="log in" id="submit" /> <br />
            <a href='?action=registration'>registration</a><br/><a href='?action=reset'>forgot password?</a>
        </div>
    </div>

</div>
<script type="text/javascript" src="js/login.js"> </script>
<script>
    var oLB = new MyLoginBox();
    oLB.bind({login: $('login'), password: $('password'), error: $('error'), submit: $('submit')});
</script>
<?php require('footer.tpl'); ?>
